refactor and changed instructorCoursesPageUiTest
minor tweak to coursePageUiTest