added code coverage hooks
merging upstrean
updated minimal test
Merge pull request #18 from wick-ed/master

added code coverage hooks