Added hooks to test success of deletion