convert to async test