cleaning up names.
added test for batch inserts requiring multiple messages.
added more query tests.