Add test file and fix the trie bug.