add hdfs related tests.