test for spatials