Fix the intergration test
Fix invitation tests