         """
       brains.get "/xhr/html", (req, res)->
         res.type("text/html")
-        res.send "<foo><bar id='bar'></foo>"
+        res.send("<foo><bar id='bar'></foo>")
       brains.ready done
 
     before (done)->
       browser.visit("http://localhost:3003/xhr/get-html", done)
 
     it "should parse HTML document", ->
-      assert browser.document.body.querySelectorAll("foo > bar#bar")
+      browser.assert.element "foo > bar#bar"
 
 
   after ->

          <body>
            <script>
              $.get("/xhr/html", function(response, status, xhr) {
                window.html = xhr.responseXML;
              });
            </script>
          </body>

      assert.equal "Text", browser.document.text


  describe.skip "HTML document", ->
    before (done)->
      brains.get "/xhr/get-html", (req, res)->
        res.send """
