added a java file with the tentative tests I wrote