Write tests for server-cdp.