Update test1.java

added test2.