unit tests for HDFS transactions