Don't you want to fail the test in case of exception? Another option is to remove the catch overall, which may do the trick automatically for the tests.