Trie and Candidate
Added mapping tests