added test for rmdup