Added test to verify that maxMessageLength is returned to client.