added initial version of test.c