fixed test.c a bit