Also add a test for teardown failures