add test.c file