added new test to include a count of messages