updated test.java