Added tests: fix for DOM Selectors not being correctly parsed when including text()