Add JUnit test for messageStartEvent