specs and tests added for chatrooms and messages