Fix path to generator in `test.js` template