tests: cdp plugin. Replace cdp enable cli command with API call.