rewrote tests as async with should assertion