Fixed a bug with redis-test.