Fix tests with locale