Added initial method + tests for batching insert queries