Fix failed test due to random order dictionary.