Added tests for the invite pages