implemented mock redis client class