Added test FormatComplexMessageTest.