Four tests of independence in spatiotemporal data