simpler filter, more tests for npm source
Merge pull request #24 from heroku/npm-source-tests

simpler filter, more tests for npm source