Rewrite trie.find, more realistic api in router_test