HDFS-6997: add more tests for data migration and replicaion.