added publication integration tests and added equals override to changed message events to allow set lookups