Adding a test for duplicate mappings in validate

This test is not very maintainable. I had to add the new test at the end in order to avoid updating every single other test which refers to a line number. We need to find a better way to test shell scripts.