add test.c

add test.c