Fixed the spatial correlation tests