def METHOD_NAME(load_inpxml, simple_xpath, filters, expected):
    """
    Test the xpathbuilder with a variety of different Xpath expressions and filters
    """
    from masci_tools.util.xml.xpathbuilder import XPathBuilder
    from masci_tools.util.xml.common_functions import eval_xpath
    xmltree, _ = load_inpxml(TEST_INPXML_PATH, absolute=False)
    xpath = XPathBuilder(simple_xpath, filters=filters)
    print(f'Complex XPath: {str(xpath)}')
    res = eval_xpath(xmltree, xpath)
    assert res == expected
    assert str(xpath) != simple_xpath  # make sure the path is not the same as the original