Add a regression test for RT #27445.

See https://rt.cpan.org/Ticket/Display.html?id=27445 .

It seems to be working fine here (Mageia Linux 4 x86-64).