Tests working for dedup.