Bug 20478: Add unit test for advance_notices.pl cronjob.