Make backtrace test verbose on failure

The backtrace test prints no useful information (it just prints "BAD") when it fails which makes it impossible to debug its logs.