package.json setting so "npm test" runs the tests

Add `package.json` setting so that tests can be run with `npm test`. (Did I get the command for tests right? A test is failing for me.)