Remove segfaulting test code