add test for try/catch blocks