Changed coverageRating method and added test for this method