bug fix in async test