Fix bug with locale on test