add necessary code to simulate the test case: logged in user click the joiningURL, his Google ID matches a non-instructor account and this account is associated with a instructor entity that has registered with the same GoogleID. After clicking the URL his account status will be updated to "isInstructor = true" and will be redirected to the InstructorHomePage with demo course.