Rails exception detection

* If rails exception occurs, do not break all the following tests.