added testSaveImageWithoutParameter