Java test file added

I've added the java file