Added test for file upload