testing altering of image saving logic