actrie fixes; test cases for ac-trie completed