All kindergartners, first- and second-graders in California will take a basic math skills test under a law signed by Gov. Gavin Newsom.