integration test for deleting in offline mode