added test to trie