agent: fix test error backtrace printing: print backtraces from handler-bind instead of handler-case.