Implemented tests for Invite and SetTopic

Change-Id: I08e5d0e58d399b8cae9fb6bd49a99a485d5302f8