Fix up test for batch publishing.