Fix test command

mocha no longer needs node_modules path, also this makes npm test work
on a windows msys enviroment
Merge remote-tracking branch 'origin/npm-test' into union-types