@Test
public void testCollectUrls() throws Exception {
Pipeline p = new MRPipeline(AggregateIT.class, tmpDir.getDefaultConfiguration());
String urlsInputPath = tmpDir.copyResourceFileName("urls.txt");
PTable<String, Collection<String>> urls = Aggregate.collectValues(p.readTextFile(urlsInputPath).parallelDo(
new SplitFn(), tableOf(strings(), strings())));
for (Pair<String, Collection<String>> e : urls.materialize()) {
String key = e.first();
int expectedSize = 0;
if ("www.A.com".equals(key)) {