Make test_client.py asynchronous