def METHOD_NAME(self, vid, value, subgroup=None, ignore_type=False):
    """
    check if vid is in test section of file
    """
    newval = EnvBase.METHOD_NAME(self, vid, value, subgroup, ignore_type)
    if newval is None:
        tnode = self.get_optional_child("test")
        if tnode is not None:
            newval = self.set_element_text(vid, value, root=tnode)
    return newval