Add tests for FilePersistence::Diff