fix PersistentHashSet.fromArray, was using old sparse array logic, add tests