Fixing the test coverage hooks.