Correct working test.c