Implement batch insert
Add unit test case