updated test.c