Added segfault simulation test.