Fix different duplicates test