Fixed a path problem in tests on Windows