Test edit with image upload