Add Redis and test mode