fixed grading bugs in tester