HDFS-5616: implement basic test cases