Added tests to catch multi-node selection bug, and a fix for it. In summary the code was treating multiple nodes as one, meaning that .text() was the concatenation of all the text of the matching nodes, rather than the individual values of each one... if that makes sense. Anyway running these new tests against the previous code would show the problem clearly