Test code for CControls.