Add tests for the npm.tag

Fixes #22 - but does not test teh integration of `range`