fixed test suite for perl-5.17 and its non-deterministic keys