Add unit test to move forward with !74785 (merged).
Surprised by the test granularity but ok.
Tagging: @jchapman, @emoyse