Fix for hash randomization

Attributes order is random since Perl 5.18.0. So this test is
sometimes passed and sometimes failed with Perl 5.18.0 or higher.
Merge pull request #1 from syohex/fix-hash-randomization

Fix for hash randomization