Tests to upload file