added unit test for startup message size
added unit tests for query message