Added legacy Unittest for message to ensure compatibility