update tests for async listen