add persistence tests