Another attempt of making code coverage work.