Added the possibility to configure the node modules path in tests

This allows to run the testsuite when the node_modules cannot be auto-detected (it looks like the globally installed packages using the Ubuntu setup are not in a path looked by ``require`` by default, and the current folder is not a parent of the temp folder where the server script gets created, meaning that both the global and local installs are not working without some config on my Ubuntu setup)