added test.c file