test uploading and renaming