test optimizing images (from image_optim specs)