unit test for file upload passed