Test for try-catch.