Redis tests and syntax error fix