Add in testing for the message endpoint