add testcase for ngx_hash interface