fixed XmlWriter.writeCData output
fixed messages in unit-test