Better coverage reporting for tests.

Added coverage calls to unit tests, and added source parameter to
allow recording non-touched sources in cms/ in the reports.