Convert due_date_display_format tests to use factories

Previously, these tests modified due_date, which failed due to the new
restrictions on writing to Scope.settings from the LMS.