Added test for https://rt.cpan.org/Public/Bug/Display.html?id=25389