refactored code, modified how courses are being looked up by course instance id, added tests for new method get_urls_from_course_instance_id