We can not determine that the low test scores are caused by sleep deprivation. Because there are many factors that can affect on a student's test score such as:
not carefully review all the lesson before the test
the feeling of nervous in the exam room
poor academic ability
....so on
So, getting less than 8 hours of sleep is just one of the independent variables determining the test score, it is not a strong correlation.