added test message serialization