in test passing portal to addMember, not testcase class