modified tests so they work cross platform on windows

Need the tests to run on windows so changed the tests not to assume unix style paths but to be portable instead.