Added test for message object matching