replaced main.c by unit tests skeletons