Fixing localisation issues in unit tests.