Tests for redis