Update test.c

bugfix