 
     invalidTeamDomains.forEach (teamDomain) ->
 
-      queue.push ->
+      queue.push (next) ->
         options = { body : { slug : teamDomain } }
         generateCreateTeamRequestParams options, (createTeamRequestParams) ->
 
           request.post createTeamRequestParams, (err, res, body) ->
-            expect(err)             .to.not.exist
-            expect(res.statusCode)  .to.be.equal 400
-            expect(body)            .to.be.equal 'Invalid group slug.'
-            queue.next()
-
-    queue.push -> done()
-
-    daisy queue
+            expect(err).to.not.exist
+            expect(res.statusCode).to.be.equal 400
+            expect(body).to.be.equal 'Invalid group slug.'
+            next()
+
+    async.series queue, done
 
 
   it 'should send HTTP 403 when slug is set as koding', (done) ->


    queue = [

      ->
        # registering a new user
        request.post registerRequestParams, (err, res, body) ->
          expect(err)             .to.not.exist
          expect(res.statusCode)  .to.be.equal 200
          queue.next()

      ->
        options = {
          body : {
            email, username, password
            passwordConfirm : password
            alreadyMember : 'false'
          }
        }

        generateCreateTeamRequestParams options, (createTeamRequestParams) ->
          # expecting user to create team when alreadyMember has wrong value
          request.post createTeamRequestParams, (err, res, body) ->
            expect(err)             .to.not.exist
            expect(res.statusCode)  .to.be.equal 200
            queue.next()

      -> done()

    ]

    daisy queue


  it 'should send HTTP 400 when user is unregistered but alreadyMember set to true', (done) ->

          ]

        Relationship.one params, (err, relationship) ->
          expect(err).to.not.exist
          expect(relationship).to.exist
          next()

      (next) ->
        # expecting account also to be saved as a member
        params =
          $and : [
