@d yeah obviously class variables are not ideal. We added this specifically for the tests so that we could exercise the code under both Windows and Linux contexts, without needing to actually run the tests on the specific platform.  Most of the Windows-specific logic can be validated without actually running on Windows.  The goal was to enable validation of that logic by anyone without requiring a bunch of extra steps.

Do you have a different recommendation for how to accomplish this?