Add functional test on addMember