in tests, fix language change side effect