Wrong test for redis queue is empty