clean up tests.c