Better errors was causing segfaults in the test environment