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

          chatService.state.getUser user1
          .then (user) ->
            orig = user.userState.removeSocket
            user.userState.removeSocket = ->
              orig.apply user.userState, arguments
              .then -> throw new Error()
            setCustomCleanup (cb) ->
              user.userState.removeSocket = orig
              chatService.close cb
            socket1.disconnect()
            chatService.on 'consistencyFailure', (error, data) ->

          chatService.state.getUser user1
          .then (user) ->
            orig = user.userState.removeSocketFromRoom
            user.userState.__proto__.removeSocketFromRoom = ->
              Promise.reject new Error()
            setCustomCleanup (cb) ->
              user.userState.__proto__.removeSocketFromRoom =  orig
              chatService.close cb
            async.parallel [
              (cb) ->
