Fixed printC&A with getC&A output bug
Expanded tests