Add setImage and setImageSubRegion tests.