Added Travis-compatible return codes to test_carry.c