Fixed the constraint test.