add istanbul for coverage analysis

to generate coverage report run:
npm test --coverage