Test deleting with CAS.