[npm] finished npm.install, s/npmModule/_npm/g similar to other resources, and added basic test