Add tests for poisoned state.