created constraints for test_1 and test_2