test for spatial index