tests for resend invite view