Add hash benchmark unit test.