Add a unit test for duplicated code values.
Merge pull request #38 from NilsTycho/unit-tests

Add a unit test for duplicated code values.