int partitionFromRef = refPartitioner.getPartition("http://www.example.org/", numReduceTasks);
IntWritable intWritable = new IntWritable(1337); //doesn't matter
WebPage page = new WebPage();
String key = TableUtil.reverseUrl("http://www.example.org/");
FetchEntry fetchEntry = new FetchEntry(conf, key, page);
int partitionFromSig = sigPartitioner.getPartition(intWritable, fetchEntry, numReduceTasks);
assertEquals("partitions should be same",
partitionFromRef, partitionFromSig);