can we change the name of this function to test__has_access_to_course, since that's what we're actually testing here