js-xpath also has a huge test suite: https://github.com/dimagi/js-xpath/tree/master/test