test java file