After course_id setting redacted from all but handleCommonFields(), and unittests OK.
Added course_id to Answer table. Updated unittests accordingly.