Moved the testcase of inviting user from register to team