Change makefile and add test.c