Unittest for message parser and builder

- message parser
- message builder