Fixed test case to no longer depends on HashMap order
[#75752312]