add test for new rule of dedup