Unit test: Trie