Fix tests.
Add tests for Transcripts.MessageManager.