Optimize RedisQueueTest::testSerialize()