Added next/prev trie test