Adding redis to CI matrix.
Fixing time based redis tests.
Cater for integer return values from redis in test.
Fixing undefined variable usage in redis test.
Merge pull request #1038 from davidpersson/fix-redis-tests

Enable Redis extension for CI and fix tests