MDL-36941 core_message: added some basic unit tests for messaging