Synchronizing XPath-related assertions with implementations in HudsonTestCase, using HtmlUnit’s XPath engine rather than Hamcrest’s which does not seem to work in this context at least.