add test for batch send