added StringTrie tests for setTop and setBottom operations