Added hinge constraint test