Adding tests for Message type
Updating documentation