Fixed path in code and in tests to work on windows