HDFS-7139. Unit test for creating encryption zone on root path. (Zhe Zhang via wang)

(cherry picked from commit 63198bfba7b899b33f26c079bc8241dad1bdbc57)