use sql_batch_size not batch_size for sql batching
coveralls test coverage