test comiles with batch insert function