Significant overhaul of ad tests and moving of core ad schedule logic to models class.