Fix unit tests for color rescale.
Prevent color rescaling for image with integral channels.