Adding tests around the term dao, cleaning up the display dates admin page