jpegls encoder does not call this function, so remove useless tests