Added test coverage for the message_logger class