more tests and Perl 5.10 fix