Add spec for custom object deletion