fix for npm test failing when no redis is defined
hotfix for caching issue and websockets +ver