Running unit tests as an npm script