Fix tests so they don't actually require a redis or memcached instance to run.