Add test file, cpi.c