Some of the test functions used in scenario tests and unit tests can be moved into `common.h`.
Some of the test functions used in scenario tests and unit tests can be moved into
common.h.