### Body

Add unit test for changes in https://github.com/apache/airflow/pull/17305

### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
airflow/jobs/backfill_job.py
#
#
#
#
import time
from collections import OrderedDict
from typing import Optional, Set
import pendulum
from sqlalchemy.orm.session import Session, make_transient
from tabulate import tabulate
from airflow import models