See also #1036 . There are already tests picking up on this but we should have a lower-level test to make it easier to report this upstream.