fix trie test

I did fix it, meaning it now reads the json file correctly, but 3 test cases are still faling.