write trie test case go a step further.