tree: fix (*Tree).Stop test