Added test for DistanceJoint