test for hash merge