Add test coverage to when grading fails