UploadTest: add loadIntoFile test if replace=true