and I can't at people saying tests aren't that reflective

Sure, it's not the end all, be all, but tests are more like real life and the real world. The real world isn't going to throw a task at you and determine how to evaluate you based on your gender or race. You just have to get sh*t done and done right.
That's why preparing for tests/studying is as important as the grade. No one can help how smart they are, but they can all help how prepared they are to face whatever it is they have to face.