Use Test::Mock::Redis for testing

The tests don't work with Redis server and CHI_REDIS_SERVER environment variable installed. This uses Test::Mock::Redis module for testing when CHI_REDIS_SERVER is not set.