tests for spatials