   it 'should render newly visible column in right-most column when scrolling forwards', ->
     @createBoard().then =>
       @scrollForwards().then =>
-        expect(@plugin.getLastScrollableColumn().getColumnHeaderCell().dom).toBe (Rally.util.Array.last @getColumnHeaderCells())
-        expect(@plugin.getLastScrollableColumn().getContentCell().dom).toBe (Rally.util.Array.last @getColumnContentCells())
+        expect(@plugin.getLastVisibleScrollableColumn().getColumnHeaderCell().dom).toBe (Rally.util.Array.last @getColumnHeaderCells())
+        expect(@plugin.getLastVisibleScrollableColumn().getContentCell().dom).toBe (Rally.util.Array.last @getColumnContentCells())
 
   it 'should render newly visible column in left-most column when scrolling backwards', ->
     @createBoard().then =>
       @scrollBackwards().then =>
-        expect(@plugin.getFirstScrollableColumn().getColumnHeaderCell().dom).toBe @getColumnHeaderCells()[0]
-        expect(@plugin.getFirstScrollableColumn().getContentCell().dom).toBe @getColumnContentCells()[0]
+        expect(@plugin.getFirstVisibleScrollableColumn().getColumnHeaderCell().dom).toBe @getColumnHeaderCells()[0]
+        expect(@plugin.getFirstVisibleScrollableColumn().getContentCell().dom).toBe @getColumnContentCells()[0]
 
   it 'should re-render scroll buttons after scrolling forwards', ->
     @createBoard().then =>
       @scrollForwards().then =>
-        @assertButtonIsInColumnHeader @plugin.forwardsButton, @plugin.getLastScrollableColumn()
-        @assertButtonIsInColumnHeader @plugin.backwardsButton, @plugin.getFirstScrollableColumn()
+        @assertButtonIsInColumnHeader @plugin.forwardsButton, @plugin.getLastVisibleScrollableColumn()
+        @assertButtonIsInColumnHeader @plugin.backwardsButton, @plugin.getFirstVisibleScrollableColumn()
 
   it 'should re-render scroll buttons after scrolling backwards', ->
     @createBoard().then =>
       @scrollBackwards().then =>
-        @assertButtonIsInColumnHeader @plugin.forwardsButton, @plugin.getLastScrollableColumn()
-        @assertButtonIsInColumnHeader @plugin.backwardsButton, @plugin.getFirstScrollableColumn()
+        @assertButtonIsInColumnHeader @plugin.forwardsButton, @plugin.getLastVisibleScrollableColumn()
+        @assertButtonIsInColumnHeader @plugin.backwardsButton, @plugin.getFirstVisibleScrollableColumn()
 
   it 'should destroy old scroll buttons after scrolling forwards', ->
     @createBoard().then =>


  it 'should render forward button into header of last column', ->
    @createBoard().then =>
      @assertButtonIsInColumnHeader @plugin.forwardsButton, @plugin.getLastScrollableColumn()

  it 'should render backwards button into header of first column', ->
    @createBoard().then =>
      @assertButtonIsInColumnHeader @plugin.backwardsButton, @plugin.getFirstScrollableColumn()

  it 'should create visible forward button when there are forward columns', ->
    @createBoard(

  it 'should scroll forward when the forward button is clicked', ->
    @createBoard().then =>
      @scrollForwards().then =>
        expect(@plugin.getLastVisibleScrollableColumn().timeboxRecords).toBe (Rally.util.Array.last @bucketedIterationRecords)

  it 'should scroll backwards when the back button is clicked', ->
    @createBoard().then =>
      @scrollBackwards().then =>
        expect(@plugin.getFirstVisibleScrollableColumn().timeboxRecords).toBe @bucketedIterationRecords[0]

  it 'should contain same number of columns after scrolling forwards', ->
    @createBoard().then =>
