Introduce code coverage reporting & remove dead code