Bugfix for 'locale' test.