Added redis mock for test