refactored redis store and fixed specs