test delegate pattern for cxf clients