Update test.c

update code style