Add coverage tests and badge