rewrite test case,hash table command implemented.