Allow to catch Rails exceptions

It's now possible to catch exceptions thrown by Rails app and re-raise them in tests.