add src dir and test.c