Added Java unit test for cs1300 hw2