Added the Java tests I had already done