There are really only two flaws with using tests to assess learning: Right answers often don’t reflect real understanding, and wrong answers often don’t reflect the absence of understanding.
(Note that this is true of teacher-designed tests, not just the standardized kind.)