Testing trie phase