robustify the test for the top of the tree a little