Moved XPath tests into a separate script.