ENH: Add presistence unit-test