agent: test services are in sync when added from the API