Test case for grades.class