test try/catch