Java quiz and test code to accompany it.