Add message expectation within to test for asynchronous calls.