Fix PersistentQueue tests.