test for delete_batch