the test will wait for the client to receive and process the message