 
         table.redo()
 
-        expect(table.undoStack.length).toEqual(5)
+        expect(table.undoStack.length).toEqual(1)
         expect(table.redoStack.length).toEqual(0)
         expect(table.getRowsCount()).toEqual(0)
 

        row = table.addRow ['foo', 'bar']
        row.height = 100

        table.removeRowAt(0)

        table.undo()

        expect(table.getRowsCount()).toEqual(1)
        expect(table.undoStack.length).toEqual(4)
        expect(table.redoStack.length).toEqual(1)
        expect(table.getRow(0).key).toEqual('foo')
        expect(table.getRow(0).value).toEqual('bar')


        table.redo()

        expect(table.undoStack.length).toEqual(1)
        expect(table.redoStack.length).toEqual(0)
        expect(table.getRowsCount()).toEqual(0)

      it 'rolls back a change in a column', ->
        table.clearUndoStack()

        column.name = 'foo'

        table.undo()

        expect(column.name).toEqual('value')

        expect(table.undoStack.length).toEqual(0)
        expect(table.redoStack.length).toEqual(1)

        table.redo()

        expect(column.name).toEqual('foo')

        expect(table.undoStack.length).toEqual(1)
        expect(table.redoStack.length).toEqual(0)

      it 'rolls back a change in a row data', ->
