Tests for message events.