C code test harness : modified end of program condition