test for persistence