add test for npm.installed/removed
Merge pull request #13037 from terminalmage/npm-test

add test for npm.installed/removed