Added an example for the communication API using the messages.
Moved the message test spec under the right context.