Test cases for rt.cpan.org #68806

Please see https://rt.cpan.org/Ticket/Display.html?id=68806