added tests for HashSet