update course_listing function and tests
STUD-1133