Improved the way we manager exception in WebTestCase class