batch support for create
test for create batch