refactor(rating): add helpers to access stars in tests