Formatting: Add new tests missed in [43732].
Completes merging [42770] to the 5.0 branch. See #43187.