add test.c

remove above method please