Cleanup `errortest` generation