fix locale issues with the tests