Add ability to disable asynchronous data uploads in tool tests.