Fix failing test for Perl 5.10