     email                   = generateRandomEmail()
     username                = generateRandomString()
     password                = 'testpass'
+
     registerRequestParams   = RegisterHandlerHelper.generateRequestParams
       body              :
         email           : email

Bongo                               = require "bongo"
koding                              = require './../bongo'

{ daisy }                           = Bongo
{ expect }                          = require "chai"
{ Relationship }                    = require 'jraphical'
{ TeamHandlerHelper
  generateRandomEmail

      done()


  it 'should send HTTP 400 when email is in use and username is not in use', (done) ->

    email                   = generateRandomEmail()
    username                = generateRandomString()
    anotherUsername         = generateRandomString()

    registerRequestParams   = RegisterHandlerHelper.generateRequestParams
      body        :
        email     : email
        username  : username

    createTeamRequestParams = generateCreateTeamRequestParams
      body        :
        email     : email
        username  : anotherUsername

    queue = [

