simple unit tests for message parsers and builders