Fix error in parser defintion

- It should have been constraint specification and not constraint
definition
Add error checking for Constraint duplicates
Add test for testing duplicates in depends