Add tests for messageEndEvent
Simplify XPath expression for detecting noneEndEvents