       slug           :  companyName
       allow          :  'true'
       domains        :  'koding.com, kd.io'
-      invitees       :  'cihangir@koding.com,cihangir@koding.com,cihangir@savas.io,'
+      invitees       :  'test@koding.com,test@test.com,'
       newsletter     :  'true'
       username       :  username
       password       :  'testpass'
       agree          :  'on'
       passwordConfirm:  'testpass'
-      redirect       :  "#{@getUrl}?username=#{username}"
+      redirect       :  "#{generateUrl()}?username=#{username}"
+
+
+    deepObjectExtend defaultBodyObject, opts
 
     return defaultBodyObject
 
 
   # overwrites given options in the default params
-  @generateCreateRequestParams = (opts = {}) ->
+  @generateCreateTeamRequestParams = (opts = {}) ->
 
     url  = generateUrl
       route : '-/teams/create'
 
-    body = generateCreateTeamRequestBody()
+    body = TeamHandlerHelper.generateCreateTeamRequestBody()
 
     params               = { url, body }
     defaultRequestParams = generateDefaultParams params


class RegisterHandlerHelper

  generateRequestBody = ->

    defaultBodyObject =
      email             : generateRandomEmail()

    return data


  @generateCreateTeamRequestBody = (opts = {}) ->

    companyName = "testcompany#{generateRandomString(10)}"
    username    = generateRandomUsername()
