Add tests for messenger.