Wrote no-duplicates test.