add small test code for TrieTree