Test cdoc