Make test_client.py asynchronous
fix a failing test
some progress on the random failing test
Merge remote-tracking branch 'refs/remotes/amarandon/async_experiment' into async_experiment
start to adapt the file for async (just the first test is ok for the moment)