Seems like it might be worth asserting that either the org is specified or the course_key is specified, but not both.