             ], done
 
   it 'should emit consistencyFailure on remove socket errors', (done) ->
-    chatService = startService { state : 'memory' }
+    chatService = startService { state : 'redis' }
     chatService.addRoom roomName1, null, ->
       socket1 = clientConnect user1
       socket1.on 'loginConfirmed', (userName, { id }) ->

          chatService.state.getUser user1
          .then (user) ->
            orig = user.userState.removeAllSocketsFromRoom
            user.userState.removeAllSocketsFromRoom = ->
              orig.apply user.userState, arguments
              .then -> throw new Error()
            setCustomCleanup (cb) ->
              user.userState.removeAllSocketsFromRoom = orig
              chatService.close cb
            chatService.execUserCommand true
            , 'roomAddToList', roomName1, 'blacklist', [user1]

              done()

  it 'should emit consistencyFailure on on remove from room errors', (done) ->
    chatService = startService { state : 'redis' }
    chatService.addRoom roomName1, null, ->
      socket1 = clientConnect user1
      socket1.on 'loginConfirmed', ->
