add delete tests and move trie private/public methods