Testing java file