 
           queue = [
 
-            ->
+            (next) ->
               # expecting error for 'koding' slug
               groupData.slug = 'koding'
 
               expectedError = 'The slug koding is not available.'
               JGroup.create client, groupData, account, (err, data) ->
                 expect(err?.message).to.be.equal expectedError
-                queue.next()
-
-            ->
+                next()
+
+            (next) ->
               # expecting validaton error when slug is empty
               groupData.slug = ''
 
               JGroup.create client, groupData, account, (err, data) ->
                 expect(err).to.exist
-                queue.next()
-
-            -> done()
+                next()
 
           ]
 
-          daisy queue
+          async.series queue, done
 
 
       it 'should pass error if slug is in use', (done) ->

JApiToken                     = require '../apitoken'
JInvitation                   = require '../invitation'
{ async
  daisy
  expect
  expectRelation
  withDummyClient

                expect(group.title)          .to.be.equal groupTitle
                expect(group.visibility)     .to.be.equal groupData.visibility
                expect(group.allowedDomains) .to.include groupData.allowedDomains[0]
                next()

            (next) ->
              # expecting owner account and group relationship to be created
              params =
                $and : [
