Correct the broken test when invalid constraints are passed