A java version of box2d physics tests