worked and made tests on deleteBatchProfile