Added code coverage support to unittests