Tests for column correlation in the presence of row correlation