feat(output dir): make output dir configurable
fix(tests): change tests to output to ./output directory