added tests for cpc format 2 & 4