Sorting hashes explicitely because ruby 1.8 does not do it by itself, making the unit tests to fail