Provides correct set implementation for UnionIterator, adds unit test for operation