Add ability to manually turn redis off so that unit tests use in memory.