testing services with dependencies.