Fix Sequencer and PersistentQueue tests.