Description
this test fails because the ordering of a HashMap is undefined and an internal detail...
with java8 the ordering is like it is expected in the test.
if you run this test with java7, the implementation of HashMap uses HashMap$Entry for the entries and thus has another ordering algo (afaik the hashCode calculation) and so the test fails