Adding unit tests for message manager and minor changes to sut
Adding unit tests for queue item manager and minor changes to sut