MAINT: refactor the kdtree tests
MAINT: refactor the kdtree tests

Ready for periodic tests.

vigna/scipy,aeklant/scipy,pschella/scipy,ilayn/scipy,pbrod/scipy,matthewalbani/scipy,aarchiba/scipy,pbrod/scipy,aeklant/scipy,befelix/scipy,kleskjr/scipy,aarchiba/scipy,nonhermitian/scipy,WarrenWeckesser/scipy,e-q/scipy,ilayn/scipy,Stefan-Endres/scipy,surhudm/scipy,andyfaff/scipy,grlee77/scipy,apbard/scipy,argriffing/scipy,jjhelmus/scipy,apbard/scipy,arokem/scipy,matthewalbani/scipy,jjhelmus/scipy,tylerjereddy/scipy,Eric89GXL/scipy,maniteja123/scipy,tylerjereddy/scipy,argriffing/scipy,zerothi/scipy,kleskjr/scipy,scipy/scipy,gdooper/scipy,argriffing/scipy,Stefan-Endres/scipy,mdhaber/scipy,rgommers/scipy,jamestwebber/scipy,nonhermitian/scipy,sriki18/scipy,jakevdp/scipy,WarrenWeckesser/scipy,Eric89GXL/scipy,haudren/scipy,scipy/scipy,gertingold/scipy,grlee77/scipy,zerothi/scipy,vigna/scipy,pizzathief/scipy,woodscn/scipy,bkendzior/scipy,rgommers/scipy,zerothi/scipy,sriki18/scipy,Shaswat27/scipy,dominicelse/scipy,pyramania/scipy,pbrod/scipy,chatcannon/scipy,nonhermitian/scipy,larsmans/scipy,aeklant/scipy,aeklant/scipy,nonhermitian/scipy,chatcannon/scipy,behzadnouri/scipy,gertingold/scipy,mdhaber/scipy,WarrenWeckesser/scipy,dominicelse/scipy,mikebenfield/scipy,Gillu13/scipy,endolith/scipy,behzadnouri/scipy,Shaswat27/scipy,Eric89GXL/scipy,gfyoung/scipy,befelix/scipy,endolith/scipy,endolith/scipy,tylerjereddy/scipy,woodscn/scipy,grlee77/scipy,e-q/scipy,e-q/scipy,Eric89GXL/scipy,haudren/scipy,maniteja123/scipy,Newman101/scipy,jamestwebber/scipy,jakevdp/scipy,jjhelmus/scipy,pizzathief/scipy,perimosocordiae/scipy,nmayorov/scipy,ilayn/scipy,niknow/scipy,gdooper/scipy,jor-/scipy,matthew-brett/scipy,jakevdp/scipy,lhilt/scipy,aarchiba/scipy,tylerjereddy/scipy,befelix/scipy,apbard/scipy,anntzer/scipy,larsmans/scipy,grlee77/scipy,Shaswat27/scipy,larsmans/scipy,maniteja123/scipy,anielsen001/scipy,maniteja123/scipy,zerothi/scipy,e-q/scipy,jakevdp/scipy,pyramania/scipy,gertingold/scipy,Stefan-Endres/scipy,Newman101/scipy,sriki18/scipy,Newman101/scipy,Gillu13/scipy,anielsen001/scipy,pyramania/scipy,person142/scipy,behzadnouri/scipy,arokem/scipy,jamestwebber/scipy,pyramania/scipy,nmayorov/scipy,aeklant/scipy,matthew-brett/scipy,vigna/scipy,anielsen001/scipy,ilayn/scipy,nonhermitian/scipy,haudren/scipy,kalvdans/scipy,WarrenWeckesser/scipy,arokem/scipy,argriffing/scipy,pizzathief/scipy,scipy/scipy,niknow/scipy,Shaswat27/scipy,kalvdans/scipy,gertingold/scipy,kleskjr/scipy,surhudm/scipy,mikebenfield/scipy,mdhaber/scipy,mdhaber/scipy,behzadnouri/scipy,chatcannon/scipy,kleskjr/scipy,grlee77/scipy,nmayorov/scipy,dominicelse/scipy,behzadnouri/scipy,mikebenfield/scipy,person142/scipy,surhudm/scipy,pschella/scipy,chatcannon/scipy,maniteja123/scipy,perimosocordiae/scipy,sriki18/scipy,haudren/scipy,arokem/scipy,josephcslater/scipy,gfyoung/scipy,sriki18/scipy,Newman101/scipy,behzadnouri/scipy,pizzathief/scipy,WarrenWeckesser/scipy,anntzer/scipy,lhilt/scipy,zerothi/scipy,anielsen001/scipy,gdooper/scipy,argriffing/scipy,andyfaff/scipy,matthewalbani/scipy,mikebenfield/scipy,ilayn/scipy,perimosocordiae/scipy,kalvdans/scipy,pbrod/scipy,Stefan-Endres/scipy,jor-/scipy,endolith/scipy,Newman101/scipy,anntzer/scipy,pizzathief/scipy,Gillu13/scipy,Stefan-Endres/scipy,lhilt/scipy,anielsen001/scipy,perimosocordiae/scipy,gfyoung/scipy,kleskjr/scipy,josephcslater/scipy,vigna/scipy,nmayorov/scipy,mdhaber/scipy,surhudm/scipy,gdooper/scipy,sriki18/scipy,niknow/scipy,apbard/scipy,scipy/scipy,gfyoung/scipy,endolith/scipy,befelix/scipy,haudren/scipy,bkendzior/scipy,tylerjereddy/scipy,jor-/scipy,gertingold/scipy,zerothi/scipy,woodscn/scipy,bkendzior/scipy,kalvdans/scipy,matthew-brett/scipy,jjhelmus/scipy,apbard/scipy,woodscn/scipy,pschella/scipy,person142/scipy,gdooper/scipy,scipy/scipy,pbrod/scipy,Eric89GXL/scipy,andyfaff/scipy,matthew-brett/scipy,person142/scipy,Gillu13/scipy,haudren/scipy,Stefan-Endres/scipy,jamestwebber/scipy,bkendzior/scipy,WarrenWeckesser/scipy,pyramania/scipy,niknow/scipy,anntzer/scipy,josephcslater/scipy,aarchiba/scipy,anntzer/scipy,befelix/scipy,anntzer/scipy,vigna/scipy,larsmans/scipy,jakevdp/scipy,endolith/scipy,dominicelse/scipy,bkendzior/scipy,scipy/scipy,surhudm/scipy,Gillu13/scipy,mdhaber/scipy,rgommers/scipy,pschella/scipy,niknow/scipy,perimosocordiae/scipy,surhudm/scipy,chatcannon/scipy,jor-/scipy,mikebenfield/scipy,Gillu13/scipy,rgommers/scipy,chatcannon/scipy,maniteja123/scipy,jor-/scipy,person142/scipy,andyfaff/scipy,jjhelmus/scipy,argriffing/scipy,pbrod/scipy,nmayorov/scipy,aarchiba/scipy,kleskjr/scipy,woodscn/scipy,niknow/scipy,ilayn/scipy,andyfaff/scipy,Shaswat27/scipy,josephcslater/scipy,larsmans/scipy,lhilt/scipy,larsmans/scipy,matthew-brett/scipy,lhilt/scipy,pschella/scipy,perimosocordiae/scipy,andyfaff/scipy,e-q/scipy,Shaswat27/scipy,Newman101/scipy,arokem/scipy,dominicelse/scipy,matthewalbani/scipy,gfyoung/scipy,josephcslater/scipy,matthewalbani/scipy,rgommers/scipy,jamestwebber/scipy,kalvdans/scipy,woodscn/scipy,anielsen001/scipy,Eric89GXL/scipy