Added coverage generation to npm test.