def METHOD_NAME(tmp_path, md_saved):
    cbr_path = datadir / "fake_cbr.cbr"
    shutil.copy(cbr_path, tmp_path)
    tmp_comic = comicapi.comicarchive.ComicArchive(tmp_path / cbr_path.name)
    assert tmp_comic.seems_to_be_a_comic_archive()
    assert tmp_comic.write_cbi(comicapi.genericmetadata.md_test)
    md = tmp_comic.read_cbi()
    assert md.replace(pages=[]) == md_saved.replace(
        pages=[],
        day=None,
        alternate_series=None,
        alternate_number=None,
        alternate_count=None,
        imprint=None,
        notes=None,
        web_link=None,
        format=None,
        manga=None,
        page_count=None,
        maturity_rating=None,
        story_arcs=[],
        series_groups=[],
        scan_info=None,
        characters=[],
        teams=[],
        locations=[],
    )