Add tests for pool.mark_dead()