add TestCase for Hadoop Inputformat and Outputformat