in case of uncaught nested_exception from test case, print all subexceptions recursively as in example of https://en.cppreference.com/w/cpp/error/nested_exception