Unit Test for pushing and consuming from redis queue