Also in Portugal and in Poland there is a thing called national exam which is a nationwide exam at certain check points. It is very useful in showing per school social economic issues as well as grade inflations(school grade VS national exam grade). I honestly do not understand why the verification is not done independently of the teaching in all levels of education. It would also liberate teachers to focus on teaching while having a nationwide benchmark validation on their approach to teaching. Teachers ironically hate to be evaluated.
Another factor that is very hard to handle is that education is an industry that employs a very powerful class, the teachers. More often than not when education is in the news it is for teacher' labor issues. In Portugal recently they held a strike on national exam days. To give you an idea of how important national exams are, they are held in police stations and delivered by police officers to the schools on exam day to avoid leaks and so nobody has unfair advantages.
I will never forget that teachers held students national exams hostage for their negotiations. (they lost and suffered such a public backlash that their bargaining power was neutered for a few years).