   expect 3
 
   @field.on 'tasklist:change', (event, index, checked) =>
-    equal parseInt(@incompleteCheckbox.attr('data-item-index')), index
     ok checked
+    equal index, @incompleteItem.expectedIndex
     equal @field.val(), @changes.toIncomplete
 
   setTimeout ->

  expect 3

  @field.on 'tasklist:change', (event, index, checked) =>
    equal parseInt(@completeCheckbox.attr('data-item-index')), index
    ok !checked
    equal @field.val(), @changes.toComplete

  setTimeout ->


    @completeItem.append @completeCheckbox
    @list.append @completeItem
    @completeItem.expectedIndex = 1

    @incompleteItem.append @incompleteCheckbox
    @list.append @incompleteItem
    @incompleteItem.expectedIndex = 2

    @container.append @list
    @container.append @field
