added service_name configuration param and test