Add tests for all current message types
Fix incorrect message type
Merge pull request #5 from cachapa/master

Add message tests and fix message type creation bug