HDFS-5616: implement test for intermediate dirs
HDFS-5616: add tests for file/symlink with auto-create.