updated test.java (5)