@Test
public void getWritableFormatter() {

  SequenceFileSerializer formatter =
      SequenceFileSerializerFactory.getSerializer("Writable", new Context());
  assertTrue(formatter != null);
  assertTrue(formatter.getClass().getName(),
      formatter instanceof HDFSWritableSerializer);
}