Add tests for the npm.tag

Fixes #22