HDFS-4651: add TestOfflineImageViewer, still need to investigate if feasible to turn on assertions for delegation tokens