Print failed statement in backtrace

Update tests accordingly.

Please, note that it's quite similar to pull request  sstephenson#15