path.spit used with platform specific separator

added minor changes to run successful test in windows. There are still some files left out with unsuccessful test . Sent a PR to start conversation on the tests.