Added queue features and tests.
Added message bus tests.