more tests for _prefix_to_tree()