fix parser bug that caused paths to be borked on windows
fix tests
fix tests to make them work on windows as well