Check that the service name is defined
Added a test for AppBroker