TBDhis diff is a fix.
The constructor for the `MessageItem` entity was changed (`fromDeviceID` and `toDeviceID was swapped in places), but the tests have not reflected these changes. This diff fixes tests for the message items to reflect these changes.