runs npm install before test
added "localPath" option