update to invitations and profile edge-case testing