Fake implementation of redis API (redis-py) for testing purposes