Added support for tests for message queue functionality (issue #6)