Add tests and XPath and JSPath assertions