add test coverage using istanbul
Merge pull request #272 from popomore/coverage

add test coverage using istanbul