         request.get getTeamMembersRequestParams, (err, res, body) ->
           expect(err)             .to.not.exist
           expect(res.statusCode)  .to.be.equal 200
+          expect(body)            .not.to.be.empty
+          expect(body)            .to.contain groupOwnerUsername
           queue.next()
 
       -> done()

          body    :
            token : token

        request.get getTeamMembersRequestParams, (err, res, body) ->
          expect(err)             .to.not.exist
          expect(res.statusCode)  .to.be.equal 200
          queue.next()

      -> done()


  it 'should send HTTP 200 when valid data provided with unregistered user', (done) ->

    token              = ''
    groupSlug          = generateRandomString()
    inviteeEmail       = generateRandomEmail()
    groupOwnerUsername = generateRandomString()
    groupOwnerPassword = generateRandomEmail()

    queue = [

      ->
        # expecting team to be created
        createTeamRequestParams = generateCreateTeamRequestParams
          body              :
            slug            : groupSlug
            invitees        : inviteeEmail
            username        : groupOwnerUsername
            password        : groupOwnerPassword
            passwordConfirm : groupOwnerPassword

        request.post createTeamRequestParams, (err, res, body) ->
          expect(err)             .to.not.exist
