fixed bulk write batch tests