Fixes hash ordering in tests