Add some tests about adding a service in YAML configurator