Add test for bug #67215

bjori> writing a testcase making sure you get a fatal error and does not
segfault after that... is difficult