test_upload: Mock flight_path() function during upload too