Fix test.c so that it compiles