rename test.c -> main.c