create deleteAllDeletedByRemote method
test deleteAllDeletedByRemote method