Adds new test for CMYK Jpegs
Fixes a bug that occured when an image was resized