writing test for teacher sending invites