Tree recursion tests