fix trie test

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