Ported redis tests.
Better redis tests.