move main into test.c