Add tests for constraints #6426
Merge pull request #2 from priyankarani/test

Add tests for constraints #6426