Add output tests for serialized and unserialized message.