fix cpan test errors