add stacktrace to test finished event handler