fix insert image test