changes to make deduplicatingiteratortest pass