Writing Event message test cases.
Merge remote-tracking branch 'origin/coderevision' into coderevision