Test Of XPath and delegate