Tests for grader in Java.