Made some changes to test1.java and test2.java