Added Unit test for Message and Messagemanager class