Implement test to find duplicates.