changed what do test from getOnlyRestaurantsHasViolations function