Add test to upload file