Wrote tests for messages