@Test
public void testOutputFormatWithMismatchInOutputClasses() throws IOException {
final ReduceDriver driver = ReduceDriver.newReduceDriver(reducer);
driver.withOutputFormat(TextOutputFormat.class, TextInputFormat.class);
driver.withInputKey(new Text("a"));
driver.withInputValue(new LongWritable(1)).withInputValue(
new LongWritable(2));
driver.withOutput(new LongWritable(), new Text("a\t3"));
driver.runTest();
}