[package] Updates package.json to run tests with npm test.