add support for running tests with `npm test` command