cleanup tests.c