add more code

test.java file