cf-sketch.pl: more --test and --activated fixes