The code lives in common/djangoapps/util, and the code is used from common/djangoapps/student.  Why are the tests in lms/djangoapps/courseware ?