Integration tests need to know the client ID of MessageStateChangedEvents
Recent refactoring of the validation manager removed the client ID from MessageStateChangedEvents, because these events are only used by tests and a lot of code in the validation manager and DB existed just to attach client IDs to these events. This has made the tests fail unpredictably.