Define "npm test" command

Specifying the test script in the `package.json` provides a conventional
method for running this project's tests: contributors can simply invoke
`npm test` from a terminal.