Test file upload without deepcopy