Adding unittests: First test: Checking for duplicates.