fix custom headers && add image upload test