changed test to upload the current file rather than a tmp file based on review comment