Fix deduping test