That's not true in any way.
The purpose of the education system is to create a well-informed citizenry prepared for a productive life and for the duty of running a country.
The goal of standardized testing is to get some very rough metrics about superficial, easy-to-observe aspects of some basic parts of the apparatus.
The two are very tenuously related.
If we were applying the scientific method, we wouldn't be doing things like national, uncontrolled experiments that assume that basing major decisions on those rough metrics will result in improvements along the axes we actually care about. And then acting as if those metrics tell us everything about one aspect of the system, teachers, because that's where the political focus is.
Applying the scientific method would involve formulating hypotheses and then testing them through lab work and field trials. That's what we do with medicine, at least some of the time.
Heck, we could start by testing the hypothesis that getting everybody to focus lots of classroom time on standardized tests improves actual education.