Fixed tests for perl > 5.13.6.