test __dirname vs process.cwd() vs fs.exists