Update test.java

this is the man function and just a test.