Add debugging output.  Fix CT tests.