created unit test for Message
update to accomodate memberships rather than members in RM