Added main.c file for tests.