assertQueryContentContains searching through all nodes found