def METHOD_NAME(self, vid, attribute=None, resolved=True, subgroup=None):
    value = EnvBase.METHOD_NAME(self, vid, attribute, resolved, subgroup)
    if value is None:
        tnode = self.get_optional_child("test")
        if tnode is not None:
            value = self.get_element_text(vid, root=tnode)
    return value