add file upload (finally) to test cases