Update test.java

updated