add more tests for newly joined Instructor accessing sample course as student/Instructor #2287

for #2287