Fix unit tests for python3 and redis 2.9.11