test getOnlyRestaurantsHasViolations function call googlemap functions