Adding test mode which can use archived data for testing plots and jobs.