Fixed: unionWith return value type
Added hashset tests