HDFS-5614: add tests covering directory diffs within snapshot.