added tests for grading, ala #222