chore(coverage): add istanbul test coverage generation

The test coverage is currently not very good, but it's a start.

Closes #18