Fix grayscale tests