[SPARK-2024] Adding 2 saveAsHadoopDataset tests