refactored SharedHashMapTest for easier understanding