Adding a test of persistence in main