Tree recurse unit test