Test for KDTree.node fix

If you pull this, it should end in your PR over at scipy/scipy. Sorry for the noise.