added test for catch segfault in linux application