Extend testAsyncNetworking to perform both single- and multi-threads downloads.