Wrote test for the same_members/2 function.