Add segfault_test script