add Test rig for Java