Added a test case for the ReceiveMessage extension method with timeout.