Test for upload a file