 
     queue = [
 
-      ->
+      (next) ->
         # expecting HTTP 200 response
         request.post postParams, (err, res, body) ->
-          expect(err)             .to.not.exist
-          expect(res.statusCode)  .to.be.equal 200
-          queue.next()
-
-      ->
+          expect(err).to.not.exist
+          expect(res.statusCode).to.be.equal 200
+          next()
+
+      (next) ->
         # expecting user to be saved on mongodb
         params = { username : username }
 
         JUser.one params, (err, { data : { email, registeredFrom } }) ->
-          expect(err)               .to.not.exist
-          expect(email)             .to.be.equal email
-          queue.next()
-
-      ->
+          expect(err).to.not.exist
+          expect(email).to.be.equal email
+          next()
+
+      (next) ->
         #expecting acount to be created
         params = { 'profile.nickname' : username }
 
         JAccount.one params, (err, { data : { profile } }) ->
-          expect(err)               .to.not.exist
-          expect(profile.nickname)  .to.be.equal username
-          queue.next()
-
-      -> done()
+          expect(err).to.not.exist
+          expect(profile.nickname).to.be.equal username
+          next()
 
     ]
 
-    daisy queue
+    async.series queue, done
 
 
   it 'should send HTTP 301 if request is not XHR',  (done) ->

        'x-requested-with' : 'this is not an XHR'

    request.post postParams, (err, res, body) ->
      expect(err)             .to.not.exist
      expect(res.statusCode)  .to.be.equal 301
      done()



        passwordConfirm : 'anotherPassword'

    request.post postParams, (err, res, body) ->
      expect(err).to.not.exist
      expect(res.statusCode).to.be.equal 400
      done()


