Modify test cases to use common trie test class.