Modify test.c to add more output