testing string based trees