fixed test_submit_file