Test for segfault