HDFS-5612: remove unused import.
HDFS-5612: additional tests and clean up some permission bits in all tests.