Fix to allow multiple asynchronous tests