fix locale error in tests