Fixup segfault tests