@Test
public void testBadFormat() throws Exception {
Tuple t1 = TupleFactory.getInstance().newTuple(2);
t1.set(0, "2011-01-01");
t1.set(1, "MMMM, yyyy");
CustomFormatToISO convert = new CustomFormatToISO();
assertNull("Input that doesn't match format should result in null", convert.exec(t1));
t1.set(0, "July, 2012");
assertEquals("Matching format should work correctly", "2012-07-01T00:00:00.000Z", convert.exec(t1));
}