   describe 'map mapname', ->
 
     it 'should respond with an error if no lobby is filling', (done) ->
+      
+      lobby =
+        map: ''
+
+      hubot.robot.set 'lobby', lobby
+      
       hubot.on('hubot map lkjasfd')
         .spread (response) ->
           expect(response).to.contain 'no pickup filling...'
         .done(done.bind(@, null), done)
 
     it 'should change the map to the given mapname', (done) ->
-      hubot.on('hubot add lkajsdf')
+      lobby =
+        map: 'cp_snakewater_final1'
+
+      hubot.robot.set 'lobby', lobby
+
       hubot.on('hubot map badl')
         .spread (response) ->
           expect(response).to.contain 'changing map to cp_badlands...'

  describe 'rem me|username', ->

    it 'should respond with an error if no lobby is filling', (done) ->
      hubot.on('hubot rem me')
        .spread (response) ->
          expect(response).to.contain 'no pickup filling...'
        .done(done.bind(@, null), done)

    it 'should remove a given user from a lobby', (done) ->
      hubot.on('hubot add asdf')
      hubot.on('hubot rem asdf')
        .spread (response) ->
          expect(response).to.contain '| 0/12 | [  ] ||'
        .done(done.bind(@, null), done)

    it 'should respond with an error if the given user is not listed in the lobby', (done) ->
      hubot.on('hubot sg lkajsdf')
      hubot.on('hubot rem lkjasdf')
        .spread (response) ->
          expect(response).to.contain 'added to the pickup...'


  describe 'add me|username', ->

    it 'should add a nickname to a lobby', (done) ->
      hubot.on('hubot cg')
      hubot.on('hubot add abcd')
        .spread (response) ->
          expect(response).to.contain '| 1/12 | [ abcd ] ||'
        .done(done.bind(@, null), done)

    it 'should respond with an error if the given nickname is already added', (done) ->
      hubot.on('hubot cg')
      hubot.on('hubot add abcd')
      hubot.on('hubot add abcd')
