some improvements to AsyncTestBase