test ondestroyed removal