basic trie test