fix cwd and typo in default options

cwd was not being set properly on OSX. This fix runs on my local

Also, the unit tests do not run on OSX :)