Added tests for ccode piecewise printing

Tests for multiple conditions, with and without assignment.
Good idea. Added.