fix test to be async