Fix code coverage patterns