[ENH] set up code coverage.

This PR fixes issue #19.