Added tests for ccode piecewise printing

Tests for multiple conditions, with and without assignment.
I think we should also test it without `assign_to='c'`, because that was broken before I believe.