I think this should be in test/server/agent/direct/test_services.py