also made c test script also fail correctly