Fix a couple of global leaks

'use strict;' in the tests as well.
Use ./node_modules/.bin consistently