add test restaurantHasViolationsByLicenseID func