Update test suite for Perl 5.18 compatibility.
TAG v1.22