Pathing fixes for Windows

This fixes a few bugs starting with some Windows pathing errors that caused the tests to not run.

Then 2 tests were corrected to behave better on Windows.