Change _batch_iter

Add test for _batch_iter
Update default batch size to 100