sw tests: Fix description of the new assertXPathContent() and use it broadly.

Change-Id: I3c8d5e491fcf9f871d72fb2d138bb7094ff69746