fixed a couple of issues checking to see if image is created; deleted some unneeded test image files.