Move test/test.c to top level