moved TrieNode from the test folder to the core one