Configured code coverage
Added test for untested code branch