refactor(rating): increase test coverage