In middle school, the last three weeks of each semester were spent watching movies (the same two or three movies over and over). In high school, I was taught that the big bang theory was when the continents divided. I was taught that the most direct route between two points on the globe is through the north pole. My Spanish and woodworking teachers taught math because they knew that the math teachers weren't doing it.
When you're talking about schools like the ones I went to (which weren't nearly as bad as many other schools in America) I think that test scores are a decent indicator of the education a student is receiving. You're measuring things like "can this kid read English" and "can they multiply two numbers together." Standardized tests are certainly capable of measuring things like that. Testing probably breaks down for measuring intelligence/education as the level of education improves, but I encourage everyone to consider just how dysfunctional many schools are before ignoring testing entirely.