added test for updateConfigWithNpmconf