CP-4350: Add unit test for apply_edition_with_rollback