Fixed batch allocator test.