Test for uploading image