Convert due_date_display_format tests to use factories