Remove untestable backtraces
Add simple implementation of backtrace