TrieDB remove nodes and tests.