Fixed assertQueryContentContains to check all nodes instead just first