Added assertions.
Renamed memberMatch to sameMembersAsIn.