delete duplicates tests