image saving tests