API: allow recursive tree

test