           controller.deleteAll('Test')
           controller.deleteAll('Logs')
           controller.deleteAll('Users')
-        ).then done()
+        ).then(setTimeout done, 1000)
 
       describe 'a generic method', ->
 


  describe 'should', ->

    beforeEach ->
      controller = new DataStorage testConfigs

    it 'exist', ->
      controller.should.exists

            ).then (result) ->
              controller.findLatest('Test') # the latest
            .then (latest) ->
              latest.should.have.length 3
              latest[0].get('action').should.equal 'findLatest-3'
              controller.findLatest('Test', [{key:'action',value:'findLatest-2'}], 1)
            .then (latest) ->
