add test.c

this method should return 0;