fixes package.json template, var names in generated mocha tests