The date in the notifications table should always be the most recent date for the template. Removed the template_type param for the query as well. Simplified the tests.
dao_get_notification_outcomes_for_job
type=int
request.args.get