Ignore test files in npm package

Fixes #341