refactored tests to run with asynctestclient