Add test for tearDown with catch