test for file upload