added notification model

more test cases for cron job