MDL-45594 core_message: commented on query change
MDL-45594 core_message: added unit tests