Add code coverage

Fixes #82