Event test coverage (messages)

WIP, opening this to start discussion.
Why did you make it non-optional to have XHTML?