add unittests for hashset