add test cases for saveAsHadoopDataSet (new&old API)