I think we should generate the `test-main.js` file in the same folder as the `karma.conf.js`, rather than cwd.
What do you think?