A little bit simpler code in Scheduler serialization tests