Fixed test for persistent storage