There are many important factors which teachers (no matter how good they are) can't control:
1. How wealthy, poor, educated, or uneducated a child's parents are.
2. How many resources the school and teacher are given.
3. Whether a child's parents are abusing them at home.
4. Whether a child is witnessing violence, hopelessness, despair in their neighborhood.
5. The attitude of a child's family and friends towards education.
6. Whether a child's parents are active in their child's education and in a PTA.
Study after study has shown that these factors greatly influence a child's attention and attitude to school work, their attendance, and ultimately their performance at school.
No child's performance on a standardized test, and no evaluation of a teacher's performance is going to pick up on the above factors, yet they can critically impact how well the child ultimately learns and what the child learns.
Standardized testing of a child that is unfortunate enough to live in a situation where the above factors are against them will likely notice a poorly performing student, one who gradually does worse and worse on the tests until they finally flunk out.
Then, instead of getting extra aid, the funding to the school that has a lot of such children will be cut (thanks to programs like No Child Left Behind), and their teachers penalized.
These factors, which are strongly associated with poverty, are things a given teacher is in no position to influence, but which society as a whole could address. If it has the will.