Fix the locale so tests are deterministic.
This closes #235