Unittests for hash implementations of dictionary.