Add test for file upload.