added code coverage to npm test script