Made result condition (correctly) more strict.
Trie decoder test now uses references rather than pointers.
Added modifiers to trie decoder test buttons.