[ci skip] Add test for GH-12455 This was already indirectly fixed via e127f87. Co-authored-by: InvisibleSmiley