core: configuration: new service_name() test

Signed-off-by: Eduardo Silva <eduardo@monkey.io>