add code coverage for shNpmInstall