assertQueryContentContains searching through all nodes found

When content is not in the first node of the document, assertQueryContentContains does not find it.  This change checks all the nodes for the content when using the AbstractHttpControllerTestCase.