Swich persistence to redis
Test key generation