added more tests for MessageQueue