adding persistence tests