Batch inserter tests speedup
Fixed a test problem