test using redis