Fix persistence modularity test