better tests for message parser