Testing Trie.toString()