PrimaryOutput backtrace tests
PrimaryOutput backtrace implementation