stacktrace: add saved stack traces to backtrace self-test