added explicit single-entry trie test
fixed failing test case