fixes #3: add tests for block-scoped declarations in catch