Few changes in Message_stream class,
Started on unit test for Message_stream class