Listing 2.6 A simple asynchronous test suite