Added test that batch loading does not acquire any locks.