added codecoverage tests