Fix setup.js and tests

issues:
* `npm test` or `node setup.js test` fails when trying to run shell/batch scripts from `node_modules/.bin` via `node`
* tests were not updated after commits cb971ca, 9b84508, 1977c41
* tests miss `express` node module

fixes:
* minimal fixes for all above, `npm test` runs successfully