Create segment_test.c