Add Test for the TaskIndexCtrl