   test "adding bullet to header block", (done) ->
     clickToolbarButton attribute: "header", ->
       clickToolbarButton attribute: "bullet", ->
+        assert.ok isToolbarButtonActive(attribute: "header")
         assert.blockAttributes([1, 2], [])
         done()
 

    clickToolbarButton attribute: "bullet", ->
      clickToolbarButton attribute: "header", ->
        clickToolbarButton attribute: "bullet", ->
          assert.blockAttributes([0, 1], ["header"])
          done()

  test "breaking out of header in list", (done) ->
    clickToolbarButton attribute: "bullet", ->
      clickToolbarButton attribute: "header", ->
        typeCharacters "abc", ->
          typeCharacters "\n", ->
            document = getDocument()
            assert.equal document.getBlockCount(), 2


      typeCharacters "abc", ->
        moveCursor direction: "left", times: 1, ->
          typeCharacters "\n", ->
            assert.ok isToolbarButtonActive(attribute: "header")

            document = getDocument()
            assert.equal document.getBlockCount(), 1

