t/helper: merge test-hashmap into test-tool