The blame for sucky test scores shouldn't be placed solely on teachers. Students are obviously responsible for their tests, but judging anything those shams known as standardized tests is complete and utter BS.
As someone who's been in the inside the system for eleven years now, I know that morale plummets right around 7th/8th grade. The curriculum, for the most part, remains rather stagnant through middle and high schools in America. The focus is never on 'learning', it's on passing the (as we have in Virginia) Standards of Learning and similar tests. Thus, students never retain to what they have learned as tests are literally just a vomiting of 'useless' information onto a sheet of paper or a computer screen. Nothing is accomplished with this method.
Are standardized tests the pinnacle of American education?
Of course not.
The inherent problems with standardized tests are that they are built for a specific brand of student: one who does not speak to think and works in a chair and desk with pencil and paper. As a student who does not fit this criteria, I feel that standardized tests are a complete mockery of what education should be. Education should be about cooperation, collaboration and corroboration. No single field of science nor meaningful occupation necessitates sitting behind a desk and spewing information. And this should not be the way we teach our children. Period.
What I've taken away from my years on the inside is that the current education system, even at the nation's top schools, is incredibly rigid, repetitive and utterly a waste of time. I cannot start rattling off the times in school I've sat in a computer lab supposed to be working on a meaningless English project on a book that's not even that good and instead playing Robot Unicorn Attack. The lack of connectivity is disgraceful. The fact that we have blocks and periods for specific classes defeats the purpose of education. A good school would be one where you could learn English in history class and math in a physics class. Instead, I had junior year: first you, madviking, learn about English, then physics, then Russian, then yadda yadda yadda.
No wonder I hated school so much.
My best moments in school were times I learned topics over than the class I'm in. Like me learning about 60's rock from my physics teacher (true story BTW).
No Child Left Behind (or as known by my peers and I, No Child Left Untested) works under the notion that education is not elitist. Which is complete BS. Education is one of the most elitist parts of our society. If we left schools to handle their own problems (curriculum, testing methods, etc), trust me, both morale and "grades" would increase.
Moreover, treating schools essentially like prisons (as JohnRM mentioned) further demoralizes students. You simply cannot learn under pressure. If we relaxed the pressure (especially all the inane rules about hats, gum, cell phones and silly stuff like that), students wouldn't crack so much, and again, students will do 'better'.
-----------------------
tl;dr the school system is completely broken.