tests.c running again without segfault