test for uploading image