Refactored DeleteConstraintTest
Added tests for DeleteConstraintTest