Fix a test failure that seems to be Perl version specific