A common knock against standardized testing of students is that it results in
teaching to the test, usually with the explicit or implicit conclusion that the solution is to get rid of the test.
Of course having a standardized test results in teaching to the test. But standardized testing if done right can be a good thing, a good way to compare the effectiveness of different schools. If you’re concerned that teaching to the test results in students being taught the wrong things, then your test is not testing the right stuff. Change the test. Make the test test the things you actually want the students to learn. Then when the schools teach to the test, they’ll be teaching what you want them to learn.