Add tests for message elements [finishes #80818478]