Use new metadata testing method (#5111)
Use new metadata testing method (#5111)

This migrates the mocking testing to the datadog_agent fixture.
DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core