   awsId: process.env.AWS_ID
   awsSecret: process.env.AWS_SECRET
 
-###
+beforeEach (done) ->
+  # pause between tests
+  setTimeout () ->
+    done()
+  , 500
+
 describe 'formatQueryParams(query, method, credentials)', ->
   it 'should return an object', ->
     queryParams = utils.formatQueryParams

          err.Error.should.have.property 'Code'
          err.Error.Code.should.equal 'InvalidClientTokenId'


    describe 'when callback is passed', ->
      it 'should return an error', (done) ->
        client.cartCreate

          results.Cart.should.have.property 'CartId'
          results.Cart.should.have.property 'HMAC'
          results.Cart.CartItems.CartItem.should.be.an.Array
          cartId = results.Cart.CartId
          cartHMAC = results.Cart.HMAC

    describe 'when callback is passed', ->
      it 'should return results from amazon', (done)->
