test failure handling