added test hasname on service to see if it matches