        .stats()
        .expect("cannot get stats at end")
        .stats
        .expect("empty stats");

    assert!(
        stats_before.last_block_content_size == stats_after.last_block_content_size,
        "last block content size should to be updated"
    );
    assert!(