Updated message listener unit tests.
More message listener test cases.
Fixed message listener unit tests.
Use mockito framework.
Cleanup.
Use mockito in data listener tests.