Fixed typo that broke duplicates? method. Added two tests to confirm