fix tests with seed --seed=64055

fix tests with seed --seed=64055.  In this case, many of the tests are setting locale, but not reverting the changes.