fixing the Perl 5.18 hash key test problems