Unit tests for trie.erl