Testing equality of means in the presence of correlation