tests for async test case