Move custom date stuff and re-usable testing stuff.