add test for npm.installed/removed