def METHOD_NAME(self):
    """Test the conversion function to ensure parsing is correct."""
    sample_rule = self.load_rule()
    rule_dict = sample_rule.contents.to_dict()
    rule_dict['rule']['note'] = "$osquery_0"
    for pattern in self.osquery_patterns:
        transform = guide_plugin_convert_(contents=pattern)
        rule_dict_copy = copy.deepcopy(rule_dict)
        rule_dict_copy.update(**transform)
        new_rule_contents = TOMLRuleContents.from_dict(rule_dict_copy)
        new_rule = TOMLRule(path=sample_rule.path, contents=new_rule_contents)
        rendered_note = new_rule.contents.to_api_format()['note']
        self.assertIn(pattern, rendered_note)