expand test to cover batch insert sorted