Fix test failure caused by dict order.