Unit test for scheduling on redis queue