added test for HadoopDataSink