abort unit tests if a segfault ocurred and print a backtrace in that case