Fix test failure triggered by a different locale.