     clickToolbarButton attribute: "bullet", ->
       clickToolbarButton attribute: "header", ->
         clickToolbarButton attribute: "bullet", ->
+          assert.ok isToolbarButtonActive(attribute: "header")
           assert.blockAttributes([0, 1], ["header"])
           done()
 
   test "breaking out of header in list", (done) ->
     clickToolbarButton attribute: "bullet", ->
       clickToolbarButton attribute: "header", ->
+        assert.ok isToolbarButtonActive(attribute: "header")
         typeCharacters "abc", ->
           typeCharacters "\n", ->
+            assert.ok isToolbarButtonActive(attribute: "bullet")
             document = getDocument()
             assert.equal document.getBlockCount(), 2
 

      typeCharacters "abc", ->
        moveCursor direction: "left", times: 1, ->
          typeCharacters "\n", ->
            document = getDocument()
            assert.equal document.getBlockCount(), 1


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

