Commit for CourseManager and some test fixes

Checking in code for CourseManager class and corresponding unit tests.
Changing the assertions along with Expected/Actual assert parameter
order in existing test cases.