changed all the tests to use fs.exists instead of path.exists