added a basic test for file upload