fix for npm test failing when no redis is defined