Added IO to persistence tests.