Don't SEGV on parse error in unittest