added in unit test for when we can't set locale on a machine