add java file to test

add java file to test