  render count #{count}."
           if count > 1
             children = $('#shell-view').children().get()
+            ###
             for child,i in children
               child = $ child
               console.log "##{i} outer:", child.prop('outerHTML'), " text:",
               child.text()
-            children.should.have.length.at.least 2
+            ###
+            verify_command_with_output command, children
             console.log "[feedlyconsole/test/#{command}:#{Date.now()-start}]
  ending callback at count #{count}."
             render_callback = ->

      html.should.contain '/'
      html.should.contain 'type'

    for command in cli_sync_commands_with_output
      it "#{command} produces sync output", do (command) -> ->
        ia.enter()
        ia.input 'history --clear'
        ia.input 'clear'

          child = $ child
          console.log "##{i} outer:", child.prop('outerHTML'), " text:",
          child.text()
        verify_command_with_output command, children

    for command in cli_async_commands
      it "#{command} produces async output", do (command) -> (done) ->
        @timeout 250
        start = Date.now()
        ia.enter()
        ia.input 'history --clear'
