       kd.utils.wait 333, ->
         expect(fetchSpy.calls.first.arguments[0]).toEqual listController.filterStates.query
         expect(fetchSpy.calls.first.arguments[2]).toEqual { skip : listController.filterStates.skip }
-
-    it 'should call addListItems', ->
+        done()
+
+    it 'should call addListItems', (done) ->
 
       fetcherMethod   = (query, options, callback) -> callback null, []
       listController  = new KodingListController { fetcherMethod, limit : 20 }


      kd.utils.wait 333, ->
        expect(addListItemsSpy).toHaveBeenCalled()

    it 'should increase filterStates.page value', ->

      fetcherMethod   = (query, options, callback) -> callback null, []
      listController  = new KodingListController { fetcherMethod, limit : 20 }


      kd.utils.wait 333, ->
        expect(listController.filterStates.skip).toBe 20
        done()

    it 'should call fetch with correct options', (done) ->

      fetcherMethod   = (query, options, callback) -> callback null, []
      listController  = new KodingListController { fetcherMethod, limit : 20 }
