added a test for file_upload