Fixed the message entity tests and created the message service tests