Updated tests to work under perl-5.18 due to hash ordering issue