There are plenty of people who are not good at tests (either because of anxiety and stress, or other reasons) but are still excellent students because they work hard - I would fit a lot of Asian and rich white students in this catagory, they are of roughly average intelligence (like most people) but they work a lot harder because their parents push them a lot harder.