Fix impulse test for contact constraints