Create tests for the Invites page