Add `npm test` script

Closes #36