added testing for grading