tweak my tests for java.